package com.aplikata.evok.bo;

import com.aplikata.bo.Node;

/**
 * @ClassName: PatientNode
 * @Description: TODO
 * @author Huyun
 * @date 15. 5. 2012. 13:58:20
 */
public class PatientNode implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	private Long id;
	private DomainPatient domainPatient;
	private Node node;
	private String value;
	
	public static final String QY_FIND_BY_PATIENT = "PatientNode.findByPatient";
	
	// Constructors

	/** default constructor */
	public PatientNode() {
	}

	/** minimal constructor */
	public PatientNode(DomainPatient domainPatient, Node node) {
		this.domainPatient = domainPatient;
		this.node = node;
	}

	/** full constructor */
	public PatientNode(DomainPatient domainPatient, Node node, String value) {
		this.domainPatient = domainPatient;
		this.node = node;
		this.value = value;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public DomainPatient getDomainPatient() {
		return domainPatient;
	}

	public void setDomainPatient(DomainPatient domainPatient) {
		this.domainPatient = domainPatient;
	}

	public Node getNode() {
		return this.node;
	}

	public void setNode(Node node) {
		this.node = node;
	}

	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}

}